package org.jivesoftware.smackx;

import java.io.PrintStream;
import org.jivesoftware.smack.provider.PrivacyProvider;
import org.jivesoftware.smack.provider.ProviderManager;
import org.jivesoftware.smackx.entitycaps.provider.CapsExtensionProvider;
import org.jivesoftware.smackx.forward.Forwarded.Provider;
import org.jivesoftware.smackx.packet.AttentionExtension.Provider;
import org.jivesoftware.smackx.packet.ChatStateExtension.Provider;
import org.jivesoftware.smackx.packet.LastActivity.Provider;
import org.jivesoftware.smackx.packet.Nick.Provider;
import org.jivesoftware.smackx.packet.OfflineMessageInfo.Provider;
import org.jivesoftware.smackx.packet.OfflineMessageRequest.Provider;
import org.jivesoftware.smackx.packet.SharedGroupsInfo.Provider;
import org.jivesoftware.smackx.ping.provider.PingProvider;
import org.jivesoftware.smackx.provider.DataFormProvider;
import org.jivesoftware.smackx.provider.DelayInformationProvider;
import org.jivesoftware.smackx.provider.DiscoverInfoProvider;
import org.jivesoftware.smackx.provider.DiscoverItemsProvider;
import org.jivesoftware.smackx.provider.HeaderProvider;
import org.jivesoftware.smackx.provider.HeadersProvider;
import org.jivesoftware.smackx.provider.MUCAdminProvider;
import org.jivesoftware.smackx.provider.MUCOwnerProvider;
import org.jivesoftware.smackx.provider.MUCUserProvider;
import org.jivesoftware.smackx.provider.MessageEventProvider;
import org.jivesoftware.smackx.provider.MultipleAddressesProvider;
import org.jivesoftware.smackx.provider.RosterExchangeProvider;
import org.jivesoftware.smackx.provider.StreamInitiationProvider;
import org.jivesoftware.smackx.provider.VCardProvider;
import org.jivesoftware.smackx.receipts.DeliveryReceipt.Provider;
import org.jivesoftware.smackx.receipts.DeliveryReceiptRequest.Provider;

public class ConfigureProviderManager
{
  public static void configureProviderManager()
  {
    ProviderManager localProviderManager = ProviderManager.getInstance();
    localProviderManager.addIQProvider("query", "jabber:iq:private", new PrivateDataManager.PrivateDataIQProvider());
    try
    {
      localProviderManager.addIQProvider("query", "jabber:iq:time", Class.forName("org.jivesoftware.smackx.packet.Time"));
    }
    catch (ClassNotFoundException localClassNotFoundException1)
    {
      System.err.println("Can't load class for org.jivesoftware.smackx.packet.Time");
    }
    localProviderManager.addExtensionProvider("x", "jabber:x:roster", new RosterExchangeProvider());
    localProviderManager.addExtensionProvider("x", "jabber:x:event", new MessageEventProvider());
    localProviderManager.addExtensionProvider("active", "http://jabber.org/protocol/chatstates", new ChatStateExtension.Provider());
    localProviderManager.addExtensionProvider("composing", "http://jabber.org/protocol/chatstates", new ChatStateExtension.Provider());
    localProviderManager.addExtensionProvider("paused", "http://jabber.org/protocol/chatstates", new ChatStateExtension.Provider());
    localProviderManager.addExtensionProvider("inactive", "http://jabber.org/protocol/chatstates", new ChatStateExtension.Provider());
    localProviderManager.addExtensionProvider("gone", "http://jabber.org/protocol/chatstates", new ChatStateExtension.Provider());
    localProviderManager.addExtensionProvider("x", "jabber:x:conference", new GroupChatInvitation.Provider());
    localProviderManager.addIQProvider("query", "http://jabber.org/protocol/disco#items", new DiscoverItemsProvider());
    localProviderManager.addIQProvider("query", "http://jabber.org/protocol/disco#info", new DiscoverInfoProvider());
    localProviderManager.addExtensionProvider("x", "jabber:x:data", new DataFormProvider());
    localProviderManager.addExtensionProvider("x", "http://jabber.org/protocol/muc#user", new MUCUserProvider());
    localProviderManager.addIQProvider("query", "http://jabber.org/protocol/muc#admin", new MUCAdminProvider());
    localProviderManager.addIQProvider("query", "http://jabber.org/protocol/muc#owner", new MUCOwnerProvider());
    localProviderManager.addExtensionProvider("x", "jabber:x:delay", new DelayInformationProvider());
    localProviderManager.addExtensionProvider("delay", "urn:xmpp:delay", new DelayInformationProvider());
    try
    {
      localProviderManager.addIQProvider("query", "jabber:iq:version", Class.forName("org.jivesoftware.smackx.packet.Version"));
    }
    catch (ClassNotFoundException localClassNotFoundException2)
    {
      System.err.println("Can't load class for org.jivesoftware.smackx.packet.Version");
    }
    localProviderManager.addIQProvider("vCard", "vcard-temp", new VCardProvider());
    localProviderManager.addIQProvider("offline", "http://jabber.org/protocol/offline", new OfflineMessageRequest.Provider());
    localProviderManager.addExtensionProvider("offline", "http://jabber.org/protocol/offline", new OfflineMessageInfo.Provider());
    localProviderManager.addIQProvider("query", "jabber:iq:last", new LastActivity.Provider());
    localProviderManager.addIQProvider("sharedgroup", "http://www.jivesoftware.org/protocol/sharedgroup", new SharedGroupsInfo.Provider());
    localProviderManager.addExtensionProvider("addresses", "http://jabber.org/protocol/address", new MultipleAddressesProvider());
    localProviderManager.addIQProvider("si", "http://jabber.org/protocol/si", new StreamInitiationProvider());
    localProviderManager.addIQProvider("query", "jabber:iq:privacy", new PrivacyProvider());
    localProviderManager.addExtensionProvider("headers", "http://jabber.org/protocol/shim", new HeadersProvider());
    localProviderManager.addExtensionProvider("header", "http://jabber.org/protocol/shim", new HeaderProvider());
    localProviderManager.addExtensionProvider("nick", "http://jabber.org/protocol/nick", new Nick.Provider());
    localProviderManager.addExtensionProvider("attention", "urn:xmpp:attention:0", new AttentionExtension.Provider());
    localProviderManager.addExtensionProvider("forwarded", "urn:xmpp:forward:0", new Forwarded.Provider());
    localProviderManager.addIQProvider("ping", "urn:xmpp:ping", new PingProvider());
    localProviderManager.addExtensionProvider("received", "urn:xmpp:receipts", new DeliveryReceipt.Provider());
    localProviderManager.addExtensionProvider("request", "urn:xmpp:receipts", new DeliveryReceiptRequest.Provider());
    localProviderManager.addExtensionProvider("c", "http://jabber.org/protocol/caps", new CapsExtensionProvider());
  }
}

/* Location:           D:\hygieia\userclient\common\libs\easemobchat_2.1.8.jar
 * Qualified Name:     org.jivesoftware.smackx.ConfigureProviderManager
 * JD-Core Version:    0.6.1
 */